package com.niiwoo.civet.mobile.vo.response;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.Getter;
import lombok.Setter;

import java.io.Serializable;
import java.util.Date;

@Setter
@Getter
@ApiModel("站内信扩展信息")
public class QueryUserLetterExtInfoResponseVO implements Serializable {
    private static final long serialVersionUID = -4784060395729839447L;

    @ApiModelProperty("用户的红点数")
    private Integer redPointCount;
    private UserLetter lastUserLetter;

    @Data
    public static class UserLetter implements Serializable{
        private static final long serialVersionUID = -709229328836161222L;

        @ApiModelProperty("站内信ID")
        private Long id;

        @ApiModelProperty("标题")
        private String title;

        @ApiModelProperty("发送时间")
        private Date sendDate;

        private String toUserId;

        @ApiModelProperty("已读?0.未读;1.已读;")
        private Byte isRead;

        @ApiModelProperty("查看时间")
        private Date viewDate;

        private Byte messageType;

        private Date createTime;

        private Date updateTime;

        @ApiModelProperty("内容")
        private String content;

        @ApiModelProperty("链接按钮列表")
        private String buttonList;
        
    }
}
